package ioParation;

import book.Book;
import book.BookList;

public class ShowParation implements IoParation{
    public void work(BookList bookList){
        System.out.println("正在展示图书中。。。。。");
        int currentSize = bookList.getUsedSized();
        for (int i = 0; i <currentSize ; i++) {
            Book book = bookList.getBook(i);
            System.out.println(book);
        }
    }
}
